for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
"use strict";
const Loggger = require('../logger/SpeakerLogger');
/**
* Represent the leprechaun with it's name
*/
class Plugin {
* @param {string} name
constructor(name) {
this.name = name;
this.logger = new Loggger(name);
}
* @public
* @returns {string}
getName() {
return this.name;
* When Alfred wakes up, he awakens all these leprechauns
*
* @param {Alfred} alfred
* @return {Promise}
init(alfred) {
alfred
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.
this.logger.info('Woken up');
return Promise.resolve();
module.exports = Plugin;
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.